package com.bwie;


import com.bwie.utils.R;
import com.bwie.vo.QueryVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
 * @author 情
 * @version 1.0
 * @description: TODO
 * @date 2025/7/17 18:53
 */
@RestController
@RequestMapping(value = "/day1/index")
@Slf4j
public class IndexController {
    @PostMapping("/getUserList/{pageNum}/{pageSize}")
    public R getUserList(@PathVariable ("pageNum")Integer pageNum, @PathVariable("pageSize")Integer pageSize, @RequestBody @Validated QueryVo queryVo){
        log.info("pageNum="+pageNum);
        log.info("pageSize="+pageSize);
        log.info("queryVo="+queryVo);
        return R.OK();
    }
}
